Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fix outro race condition #1585

Merged
merged 2 commits into from
Jul 15, 2018
Merged

Conversation

stalkerg
Copy link
Contributor

@stalkerg stalkerg commented Jul 9, 2018

This PR fixes #1575 but unfortunately help in this case only. I think we have similar situations for example if we really try to change the variable for that "if block".
Also, I made "getter" function for the "#current" variable because I can't found a solution to get access to this variable from outside.

Anyway, it fixes my problem and I currently can't see a better way without significant refactoring.

@stalkerg stalkerg changed the title WIP: Fix outro race condition [WIP] Fix outro race condition Jul 10, 2018
@Rich-Harris Rich-Harris merged commit 0dcc0f2 into sveltejs:master Jul 15, 2018
@Rich-Harris
Copy link
Member

Thank you! Released 2.9.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Any set({}) during transition back transition element to previous state.
2 participants